  <g:set var="entityName" value="${message(code: 'news.label', default: 'News')}" />
            <g:form method="post" >
                <g:hiddenField name="id" value="${newsInstance?.id}" />
                <g:hiddenField name="version" value="${newsInstance?.version}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="title"><g:message code="news.title.label" default="Title" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: newsInstance, field: 'title', 'errors')}">
                                    <g:textField name="title" maxlength="250" value="${newsInstance?.title}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="category"><g:message code="news.category.label" default="Category" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: newsInstance, field: 'category', 'errors')}">
                                    <g:lookupSelect class="select" id="category" name="category" realm="newsCategory" value="${newsInstance?.category}"/>
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="content"><g:message code="news.content.label" default="Content" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: newsInstance, field: 'content', 'errors')}">
                                    <ckeditor:config    height="300px"    width="80%"  />
                                    <ckeditor:editor name="content" >${newsInstance?.content}</ckeditor:editor>
                                </td>
                            </tr> 
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </div>
            </g:form>
